﻿using Swimj.CommonLib.Constants;
using Swimj.Core.DependencyInjection;

namespace Swimj.Core.FileStorage;

public interface IFileStorageService: ITransientDependency
{
    public Task<string> UploadAsync<T>(FileUploadRequest? request, FileType supportedFileType, CancellationToken cancellationToken = default)
        where T : class;

    public void Remove(string? path);
}